/*
 * @Author: 高瑞寒 15932717091@163.com
 * @Date: 2022-05-16 00:03:58
 * @LastEditTime: 2022-05-16 10:48:51
 * @LastEditors: 高瑞寒 15932717091@163.com
 * @Description: 
 */
import request from '@/utils/request'

// 提交文章
export const submitArticle = (data) => request.post('/article/add', data)
// 获取文章 
export const getArticleDetail = (id) => request.get(`/article/${id}`)
// 更新文章
export const updateArticleDetail = (data) => request.put(`/article/update`, data)